#QT modules
QT += core gui opengl

#project include path
INCLUDEPATH += .

#executable
TARGET = thesis

#tmp outputs
DESTDIR = .
MOC_DIR = build/moc
OBJECTS_DIR = build/objects
UI_DIR = build/ui

#project's headers and sources
SOURCES += \
    main.cpp \
    mainwindow.cpp \
    glarea.cpp \
    meshmodel.cpp \
    dialogquadricparams.cpp \
    meshsimplificationquadric.cpp \
    progressivemeshquadric.cpp \
    edgecollapserext.cpp \
    infodialog.cpp \
    midpointprogressivemesh.cpp

HEADERS += \
    mainwindow.h \
    glarea.h \
    meshmodel.h \
    meshdefs.h \
    dialogquadricparams.h \
    meshsimplificationquadric.h \
    progressivemeshquadric.h \
    edgecollapserext.h \
    infodialog.h \
    midpointprogressivemesh.h


#/*****************Thirdparty libs****************/
#VCG lib
INCLUDEPATH += D:/ThirdPartyLibs/VCGlib
SOURCES  += D:/ThirdPartyLibs/VCGlib/wrap/ply/plylib.cpp \
    D:/ThirdPartyLibs/VCGlib/wrap/gui/trackball.cpp \
    D:/ThirdPartyLibs/VCGlib/wrap/gui/trackmode.cpp

#GLEW lib
DEFINES += GLEW_STATIC
INCLUDEPATH += D:/ThirdPartyLibs/glew/include
SOURCES += D:/ThirdPartyLibs/glew/src/glew.c
#/*******************end of thirdparty libs*********/

FORMS += \
    dialogquadricparams.ui \
    infodialog.ui
